<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.5.0" />

	<title>Class tjsd\debug\ErrorState</title>

	<script type="text/javascript" src="resources/combined.js?2300626518"></script>
	<script type="text/javascript" src="elementlist.js?712723931"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?1252480456" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>

		<div id="groups">
			<h3>Namespaces</h3>
			<ul>
				<li><a href="namespace-PHP.html">PHP</a>
						</li>
				<li class="active"><a href="namespace-tjsd.html">tjsd</a>
						<span></span>
						<ul>
				<li><a href="namespace-tjsd.cache.html">cache</a>
						</li>
				<li><a href="namespace-tjsd.controllers.html">controllers</a>
						</li>
				<li><a href="namespace-tjsd.core.html">core</a>
						</li>
				<li class="active"><a href="namespace-tjsd.debug.html">debug</a>
						<span></span>
						<ul>
				<li><a href="namespace-tjsd.debug.handlers.html">handlers</a>
						</li>
							</ul></li>
				<li><a href="namespace-tjsd.exceptions.html">exceptions</a>
						</li>
				<li><a href="namespace-tjsd.mappers.html">mappers</a>
						</li>
				<li><a href="namespace-tjsd.system.html">system</a>
						<span></span>
						<ul>
				<li><a href="namespace-tjsd.system.di.html">di</a>
						</li>
				<li><a href="namespace-tjsd.system.enviroment.html">enviroment</a>
						</li>
							</ul></li>
				<li><a href="namespace-tjsd.view.html">view</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />

		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-tjsd.debug.Debugger.html">Debugger</a></li>
				<li class="active"><a href="class-tjsd.debug.ErrorState.html">ErrorState</a></li>
				<li><a href="class-tjsd.debug.ExceptionState.html">ExceptionState</a></li>
			</ul>

			<h3>Interfaces</h3>
			<ul>
				<li><a href="class-tjsd.debug.ErrorHandler.html">ErrorHandler</a></li>
				<li><a href="class-tjsd.debug.ExceptionHandler.html">ExceptionHandler</a></li>
				<li><a href="class-tjsd.debug.FaultHandler.html">FaultHandler</a></li>
				<li><a href="class-tjsd.debug.FaultState.html">FaultState</a></li>
			</ul>




		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-tjsd.debug.html" title="Summary of tjsd\debug"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class ErrorState</h1>


	<dl class="tree">
		<dd style="padding-left:0px">
			<a href="class-tjsd.core.Object.html">tjsd\core\Object</a>
			
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by" />
<b>tjsd\debug\ErrorState</b>			
			 implements 
				<a href="class-tjsd.debug.FaultState.html">tjsd\debug\FaultState</a>
			
			
		</dd>
	</dl>







	<div class="info">
		
		
		<b>Namespace:</b> <a href="namespace-tjsd.html">tjsd</a>\<a href="namespace-tjsd.debug.html">debug</a><br />

				<b>Copyright:</b>
				2012<br />
				<b>Author:</b>
				Jakub Tesárek &lt;<a
href="mailto:info&#64;tjsd.cz">info&#64;<!---->tjsd.cz</a>&gt;<br />
				<b>Version:</b>
				1.0<br />
		<b>Located at</b> <a href="source-class-tjsd.debug.ErrorState.html#4" title="Go to source code">tjsd/debug/ErrorState.php</a><br />
	</div>


	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="__construct" id="___construct">

		<td class="attributes"><code>
			
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___construct">#</a>
		<code><a href="source-class-tjsd.debug.ErrorState.html#38" title="Go to source code">__construct</a>( <span>integer <var>$level</var></span>, <span>string <var>$message</var></span>, <span>string <var>$file</var></span>, <span>integer <var>$line</var></span>, <span>array <var>$context</var></span> )</code>

		<div class="description short">
			
<p>Creates new error state from provided informations</p>

		</div>

		<div class="description detailed hidden">
			
<p>Creates new error state from provided informations</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$level</var></dt>
					<dd><code>integer</code><br> error level</dd>
					<dt><var>$message</var></dt>
					<dd><code>string</code><br> error message</dd>
					<dt><var>$file</var></dt>
					<dd><code>string</code><br> location of file where error occured</dd>
					<dt><var>$line</var></dt>
					<dd><code>integer</code><br> number of line in file where error occured</dd>
					<dt><var>$context</var></dt>
					<dd><code>array</code><br> error context</dd>
				</dl></div>




		</div>
		</div></td>
	</tr>
	<tr data-order="getLevel" id="_getLevel">

		<td class="attributes"><code>
			
			 public 
			integer
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getLevel">#</a>
		<code><a href="source-class-tjsd.debug.ErrorState.html#55" title="Go to source code">getLevel</a>( )</code>

		<div class="description short">
			
<p>Return numeric representation of error level (E_NOTICE, E_ERROR etc.)</p>

		</div>

		<div class="description detailed hidden">
			
<p>Return numeric representation of error level (E_NOTICE, E_ERROR etc.)</p>




				<h4>Returns</h4>
				<div class="list">
					<code>integer</code><br>error level<br />
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="getMessage" id="_getMessage">

		<td class="attributes"><code>
			
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getMessage">#</a>
		<code><a href="source-class-tjsd.debug.ErrorState.html#64" title="Go to source code">getMessage</a>( )</code>

		<div class="description short">
			
<p>Returns brief message describing the reason of fault.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Returns brief message describing the reason of fault.</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br>message describing the fault<br />
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-tjsd.debug.FaultState.html#_getMessage">tjsd\debug\FaultState::getMessage</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getFile" id="_getFile">

		<td class="attributes"><code>
			
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getFile">#</a>
		<code><a href="source-class-tjsd.debug.ErrorState.html#73" title="Go to source code">getFile</a>( )</code>

		<div class="description short">
			
<p>Return location of file, where the fault occures.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Return location of file, where the fault occures.</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br>file location<br />
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-tjsd.debug.FaultState.html#_getFile">tjsd\debug\FaultState::getFile</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getLine" id="_getLine">

		<td class="attributes"><code>
			
			 public 
			integer
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getLine">#</a>
		<code><a href="source-class-tjsd.debug.ErrorState.html#82" title="Go to source code">getLine</a>( )</code>

		<div class="description short">
			
<p>Return number of line in source code, where the fault occures.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Return number of line in source code, where the fault occures.</p>




				<h4>Returns</h4>
				<div class="list">
					<code>integer</code><br>line number<br />
				</div>


				<h4>See</h4>
				<div class="list">
						<code><code><a href="class-tjsd.debug.ErrorState.html#_getFile">tjsd\debug\ErrorState::getFile()</a></code></code><br />
				</div>

				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-tjsd.debug.FaultState.html#_getLine">tjsd\debug\FaultState::getLine</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getContext" id="_getContext">

		<td class="attributes"><code>
			
			 public 
			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getContext">#</a>
		<code><a href="source-class-tjsd.debug.ErrorState.html#93" title="Go to source code">getContext</a>( )</code>

		<div class="description short">
			
<p>Return array containing all variables from scope where the error first
occured.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Return array containing all variables from scope where the error first
occured.</p>




				<h4>Returns</h4>
				<div class="list">
					<code>array</code><br>error context<br />
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="__toString" id="___toString">

		<td class="attributes"><code>
			
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___toString">#</a>
		<code><a href="source-class-tjsd.debug.ErrorState.html#102" title="Go to source code">__toString</a>( )</code>

		<div class="description short">
			
<p>Returns verbose message describing the fault.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Returns verbose message describing the fault.</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br>message describing the fault<br />
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-tjsd.debug.FaultState.html#___toString">tjsd\debug\FaultState::__toString</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getTrace" id="_getTrace">

		<td class="attributes"><code>
			
			 public 
			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTrace">#</a>
		<code><a href="source-class-tjsd.debug.ErrorState.html#111" title="Go to source code">getTrace</a>( )</code>

		<div class="description short">
			
<p>Returns bactrace of fault - array containing chain of calls.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Returns bactrace of fault - array containing chain of calls.</p>




				<h4>Returns</h4>
				<div class="list">
					<code>array</code><br>backtrace of fault<br />
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-tjsd.debug.FaultState.html#_getTrace">tjsd\debug\FaultState::getTrace</a></code></div>
		</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-tjsd.core.Object.html#methods">tjsd\core\Object</a></caption>
	<tr>
		<td><code>
<a href="class-tjsd.core.Object.html#___call">__call()</a>, 
<a href="class-tjsd.core.Object.html#___callStatic">__callStatic()</a>, 
<a href="class-tjsd.core.Object.html#___get">__get()</a>, 
<a href="class-tjsd.core.Object.html#___isset">__isset()</a>, 
<a href="class-tjsd.core.Object.html#___set">__set()</a>
		</code></td>
	</tr>
	</table>






	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="level" id="$level">

		<td class="attributes"><code>
			
			protected 
			integer
		</code></td>

		<td class="name">
				<a href="source-class-tjsd.debug.ErrorState.html#13" title="Go to source code"><var>$level</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$level" class="anchor">#</a>

			<div class="description short">
				
<p>error level</p>

			</div>

			<div class="description detailed hidden">
				
<p>error level</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="message" id="$message">

		<td class="attributes"><code>
			
			protected 
			string
		</code></td>

		<td class="name">
				<a href="source-class-tjsd.debug.ErrorState.html#18" title="Go to source code"><var>$message</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$message" class="anchor">#</a>

			<div class="description short">
				
<p>error message</p>

			</div>

			<div class="description detailed hidden">
				
<p>error message</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="file" id="$file">

		<td class="attributes"><code>
			
			protected 
			string
		</code></td>

		<td class="name">
				<a href="source-class-tjsd.debug.ErrorState.html#23" title="Go to source code"><var>$file</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$file" class="anchor">#</a>

			<div class="description short">
				
<p>location of file where error occured</p>

			</div>

			<div class="description detailed hidden">
				
<p>location of file where error occured</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="line" id="$line">

		<td class="attributes"><code>
			
			protected 
			integer
		</code></td>

		<td class="name">
				<a href="source-class-tjsd.debug.ErrorState.html#28" title="Go to source code"><var>$line</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$line" class="anchor">#</a>

			<div class="description short">
				
<p>number of line in file where error occured</p>

			</div>

			<div class="description detailed hidden">
				
<p>number of line in file where error occured</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="context" id="$context">

		<td class="attributes"><code>
			
			protected 
			array
		</code></td>

		<td class="name">
				<a href="source-class-tjsd.debug.ErrorState.html#33" title="Go to source code"><var>$context</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$context" class="anchor">#</a>

			<div class="description short">
				
<p>error context</p>

			</div>

			<div class="description detailed hidden">
				
<p>error context</p>


			</div>
		</div></td>
	</tr>
	</table>


</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen 2.5.0</a>
	</div>
</div>
</div>
</body>
</html>
